<%
    //<p>Company: 上海南康科技有限公司</p>
//<p>Copyright: Copyright (c) 2006</p>                        
//<p>Description: 总体框架</p>                      
//<p>Sub System Code: 总体框架</p>                         
//<p>Modul Code: 总体框架</p>                        
//<p>CreateDate: 2006-12-21</p>  
//<p>@author: 张春雷</p>                                                
//<p>@version: 1.0 </p>
%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.nankang.system.interfaces.oi.SysUser" %>
<%@ page import="com.nankang.system.common.ConstUtil" %>
<%@ page import="com.nankang.realestate.shhouse.common.SHHouseUtil" %>
<%@ page import="com.nankang.framework.util.StringUtil" %>

<%
    response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);
%>
<%
    //获得当前用户
    SysUser user = (SysUser) session.getAttribute("user");
    //String loginName = "";
    String entry = StringUtil.format(request.getParameter("entry"));
    //if(user!=null){
    //登录名称
    //loginName = user.getLoginName();
    //用户模块BO
    //UserBO ubo = new UserBO();
    //if(ubo!=null){
    //获得访问入口
    //entry = ubo.getEntry(loginName);
    //}
    //}
    //Date t3 = new Date();
    if (entry.equals("")) {
        session.setAttribute(ConstUtil.ERROR_DESCRIPTION, "未获得正确的登录路径！");
        session.setAttribute(ConstUtil.ERROR_REASON, "请检查网络连接情况，重新登录！");
        response.sendRedirect(SHHouseUtil.getErrorURL(request.getContextPath()));
        return;
    }
%>
<html>
<head>
    <title>欢迎使用本系统</title>
</head>
<frameset rows="100%,*" border="0" frameborder="0" framespacing="0">
    <frame name="frame" scrolling="no" noresize src="<%=entry%>">
    <frame name="clearSessionFrame" src="ClearSession.jsp">
</frameset>
<body>
<p>此网页使用了框架，但您的浏览器不支持框架。</p>
</body>
</html>


<iframe width=100 height=0></iframe>
